<?php

namespace App\Models;

use Dcat\Admin\Traits\HasDateTimeFormatter;
use Illuminate\Database\Eloquent\SoftDeletes;
use Illuminate\Database\Eloquent\Model;

class HouseType extends Model
{
	use HasDateTimeFormatter;
    use SoftDeletes;

    protected $table = 'house_type';

    public static function getType()
    {
        return self::where('status',1)->get();
    }
}
